package com.flyco.modules.oms.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.flyco.modules.oms.entity.OmsJddjOrderDiscount;
import com.flyco.modules.oms.mapper.OmsJddjOrderDiscountMapper;
import com.flyco.modules.oms.service.IOmsJddjOrderDiscountService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 京东到家订单活动
 * @Author: flyco
 * @Date:   2021-08-24
 * @Version: V1.0
 */
@DS("store")
@Service
public class OmsJddjOrderDiscountServiceImpl extends ServiceImpl<OmsJddjOrderDiscountMapper, OmsJddjOrderDiscount> implements IOmsJddjOrderDiscountService {

	@Autowired
	private OmsJddjOrderDiscountMapper omsJddjOrderDiscountMapper;

	@Override
	public List<OmsJddjOrderDiscount> selectByMainId(String mainId) {
		return omsJddjOrderDiscountMapper.selectByMainId(mainId);
	}
}
